//
//  DataModel.m
//  010-tableView自定义cell
//
//  Created by dllo on 16/7/27.
//  Copyright © 2016年 YMJ. All rights reserved.
//

#import "DataModel.h"

@implementation DataModel
- (instancetype)initWithImageNameStr:(NSString *)imageNameStr
                            titleStr:(NSString *)titleStr
                           titleStr1:(NSString *)titleStr1
                           titleStr2:(NSString *)titleStr2 {
    self = [super init];
    if (self) {
        _imageNameStr = imageNameStr;
        _titleStr = titleStr;
        _titleStr1 = titleStr1;
        _titleStr2 = titleStr2;
        
    }
    return self;
}
- (instancetype)initWithImageNameStr:(NSString *)imageNameStr {
    return [self initWithImageNameStr:imageNameStr titleStr:nil titleStr1:nil titleStr2:nil];
}
@end
